package com.tem.product.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 按天统计，mongodb备份
 * </p>
 *
 * @author 陈辉
 * @since 2023-11-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("product_look_count")
@ApiModel(value="ProductLookCount对象", description="按天统计，mongodb备份")
public class ProductLookCount implements Serializable {
    private static final long serialVersionUID=895640342421L;
    @ApiModelProperty(value = "产品查看记录表")
    @TableId(value = "product_look_count_id", type = IdType.AUTO)
    private Long productLookCountId;

    @ApiModelProperty(value = "产品")
    @TableField("product_id")
    private Long productId;

    @ApiModelProperty(value = "日期")
    @TableField("in_date")
    private LocalDate inDate;

    @ApiModelProperty(value = "总数量")
    @TableField("in_count")
    private Integer inCount;


}
